package untils;

import java.sql.Timestamp;

public class itemViewCountPerWindow {
    public String itemId;
    public Long count;
    public Long windowStrart;
    public Long windowEnd;


    public itemViewCountPerWindow() {
    }

    public itemViewCountPerWindow(String itemId, Long count, Long windowStrart, Long windowEnd) {
        this.itemId = itemId;
        this.count = count;
        this.windowStrart = windowStrart;
        this.windowEnd = windowEnd;
    }

    @Override
    public String toString() {
        return "itemViewCountPerWindow{" +
                "itemId='" + itemId + '\'' +
                ", count=" + count +
                ", windowStrart=" + new Timestamp(windowStrart) +
                ", windowEnd=" + new Timestamp(windowEnd) +
                '}';
    }
}
